package club.babyf.oss.service.aliyun;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * AliYunOSSProperties.
 *
 * @author zhanglei.
 * @date 2024/12/31 15:54.
 * @description 阿里云对象存储配置.
 */
@Data
@ConfigurationProperties(prefix = "oss.ali-yun")
public class AliYunOSSProperties {

    @JsonProperty("endpoint")
    private String endpoint;

    @JsonProperty("bucketName")
    private String bucketName;

    @JsonProperty("accessKeyId")
    private String accessKeyId;

    @JsonProperty("accessKeySecret")
    private String accessKeySecret;

}
